package xyz.zhouzhaodong.crm.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;
import xyz.zhouzhaodong.crm.entity.CustomerTypeTime;
import xyz.zhouzhaodong.crm.service.ICustomerTypeTimeService;
import xyz.zhouzhaodong.crm.util.RestMessage;

import javax.annotation.Resource;

/**
 * <p>
 * 客户状态操作时间 前端控制器
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-28
 */
@RestController
@RequestMapping("/customer-type-time")
public class CustomerTypeTimeController {

    @Resource
    ICustomerTypeTimeService customerTypeTimeService;

    /**
     * 成交信息删除
     * @param customerTypeTime
     * @return
     */
    @RequestMapping("/delete")
    public RestMessage delete(CustomerTypeTime customerTypeTime){
        return customerTypeTimeService.delete(customerTypeTime);
    }

}
